package cn.snowheart.factory.abstractfactory;

import cn.snowheart.factory.component.Component;
import cn.snowheart.factory.component.IntelCPU;
import cn.snowheart.factory.component.IntelGPU;

/**
 * @author liuwanxiang
 * @version 2019/07/01
 */
public class IntelComponentFactory implements ComponentAbstractFactory {
    @Override
    public Component createCPU() {
        return new IntelCPU();
    }

    @Override
    public Component createGPU() {
        return new IntelGPU();
    }
}
